﻿namespace QYWXUpdate.DataModel.QYWXDocument
{
    /// <summary>
    /// 获取文档权限角色
    /// </summary>
    public class GetDocAuthResponse
    {
        /// <summary>
        /// 错误码
        /// </summary>
        public int errcode { get; set; }
        /// <summary>
        /// 错误码说明
        /// </summary>
        public string errmsg { get; set; }
        public List<DocMemberList> doc_member_list { get; set; }
    }
    /// <summary>
    /// 文档通知范围及权限列表
    /// </summary>
    public class DocMemberList
    {
        public int type { get; set; }
        /// <summary>
        /// 企业成员的userid
        /// </summary>
        public string userid { get; set; }
        /// <summary>
        /// 该文档通知范围成员的权限 1:只读 2:读写（目前仅智能表可设置为读写） 7:管理员
        /// </summary>
        public int auth { get; set; }
        public string? userName { get; set; }
    }
}
